// Tab 组件样式
.tab {
  .tab-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;

    // Tab 按钮样式
    > div {
      margin: 0 10px;
      color: var(--text-color-gray);
      transition: 0.5s;
      cursor: pointer;
      .wire {
        width: 0;
        background-color: var(--cobalt-50);
        height: 0.2rem;
        border-radius: 0.5rem;
        transition: 0.5s;
        margin: 0.3rem auto 0;
        opacity: 0;
      }

      &.active {
        color: var(--cobalt-50);

        .wire {
          width: 100%;
          opacity: 1;
        }
      }
    }

  }


  .tab-content {
    display: none;
    animation: fadeEffect 1s;
  }

  .tab-content-active {
    display: block;
  }

  @keyframes fadeEffect {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

}